package com.traning.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the emp_information database table.
 * 
 */
@Entity
@Table(name="emp_information")
public class EmpInformation implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="emp_info_id")
	private String empInfoId;

	@Column(name="emp_first_name")
	private String empFirstName;

	@Column(name="emp_last_name")
	private String empLastName;

	@Column(name="emp_middle_name")
	private String empMiddleName;

	private String manager;

	@Column(name="secondry_email")
	private String secondryEmail;

	//bi-directional one-to-one association to EmpLogin
	@OneToOne(mappedBy="empInformation")
	private EmpLogin empLogin;

	public EmpInformation() {
	}

	public String getEmpInfoId() {
		return this.empInfoId;
	}

	public void setEmpInfoId(String empInfoId) {
		this.empInfoId = empInfoId;
	}

	public String getEmpFirstName() {
		return this.empFirstName;
	}

	public void setEmpFirstName(String empFirstName) {
		this.empFirstName = empFirstName;
	}

	public String getEmpLastName() {
		return this.empLastName;
	}

	public void setEmpLastName(String empLastName) {
		this.empLastName = empLastName;
	}

	public String getEmpMiddleName() {
		return this.empMiddleName;
	}

	public void setEmpMiddleName(String empMiddleName) {
		this.empMiddleName = empMiddleName;
	}

	public String getManager() {
		return this.manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public String getSecondryEmail() {
		return this.secondryEmail;
	}

	public void setSecondryEmail(String secondryEmail) {
		this.secondryEmail = secondryEmail;
	}

	public EmpLogin getEmpLogin() {
		return this.empLogin;
	}

	public void setEmpLogin(EmpLogin empLogin) {
		this.empLogin = empLogin;
	}

}